
<!--菜单 start-->
<?php $this->load->view('defaults/common/left');?>
<!--菜单 end-->
<div id="content">
    <div class="page-header">
        <div class="container-fluid">
          <h1>基项管理</h1>
          <?=$this->breadcrumb->generateHTML();?>
        </div>
    </div>
    <div class="container-fluid">
        <div class="panel panel-default">
          <div class="panel-heading">
            <h3 class="panel-title"><i class="fa fa-list"></i>产品附件列表</h3>
          </div>
          <div class="panel-body">
            <div class="well" style="padding:0 19px;display: none;">
              <div class="row">
                <form action="<?=blang_url('orders/Shipping_fee/')?>" method="post" name="searchform" >
                    <div class="col-sm-4">
                        <div class="form-group">
                            <!-- <label class="control-label" for="input-name">关键字</label>
                            <input class="form-control" type="text" name="keyword" size="50" placeholder="关键字"> -->
                        </div>
                    </div>
                    <div class="col-sm-4">
                        <div class="form-group" style="padding-top:37px;">
                            <input class="btn btn-primary" type="submit" value="搜索">
                        </div>
                    </div>
                </form>
                
              </div>
            </div>
            <div class="table-responsive">
                <table class="table table-bordered table-hover oms-table">
                  <thead>
                    <tr>
                        <th class="text-left">id</th>
                        <th class="text-left">产品类型</th>
                        <th class="text-left">发件国家</th>
                        <th class="text-left">发件成本费</th>
                        <th class="text-left">发件费</th>
                        <th class="text-right">收件国家</th>
                        <th class="text-right">收件成本费</th>
                        <th class="text-right">收件费</th>
                        <th class="text-right">日期</th>
                        <th class="text-right">处理人</th>
                        <th class="text-right">Modify</th>
                    </tr>
                  </thead>
                  <tbody>
                    <?php if($dataList): foreach ($dataList as $key=>$rs):?>
                    <tr>
                        <td class="text-left"><?=$rs['id']?></td>
                        <td class="text-left"><?=$rs['categoryName']?></td>
                        <td class="text-left"><?=$rs['delivery_country']?></td>
                        <td class="text-left"><?=$rs['delivery_cost_fee']?></td>
                        <td class="text-left"><?=$rs['delivery_fee']?></td>
                        <td class="text-right"><?=$rs['pickup_country']?></td>
                        <td class="text-right"><?=$rs['pickup_cost_fee']?></td>
                        <td class="text-right"><?=$rs['pickup_fee']?></td>
                        <td class="text-right"><?=$rs['add_time']?></td>
                        <td class="text-right"><?=$rs['add_user']?></td>
                        <td class="text-right">
                            <a class="btn btn-primary btn-sm" href="<?=blang_url('orders/Shipping_fee/edit/'.$rs['id'])?>"  title="edit"><i class="fa fa-edit"></i></a>
                            <a class="btn btn-danger btn-sm" href="<?=blang_url('orders/Shipping_fee/del/'.$rs['id'].'/'.$page)?>" onclick="return confirm('Sure you want to delete?')" title="delete"><i class="fa fa-trash-o"></i></a>
                        </td>
                    </tr>
                    <?php endforeach; else:?>
                        <tr><td colspan="11" class="emptyNumber"><?=lang('public_mygdsj')?>....</td></tr>
                    <?php endif; ?>
                </tbody>
                </table>
                <?php if($show_pages):?>
                <div class="page">
                    <?=$show_pages?>
                </div>
                <?php endif;?>
            </div>
          </div>
        </div>
    </div>

</div>
